x = 2

def pow( n, x )
  (n == 0) ? 1 : x * pow( n - 1, x )
end

=begin
def func( x, y )
  x
end

def another( z )
  func( 5, nil )
end


def fact( n )
  (n == 1) ? 1 : n * fact( n - 1 )
end

fact( 5 )
=end
fact( 5 )

puts pow(3, 2)

y = func( 10, 2 )
